Skip to content

Ci/phpstan#695

Draft
nickvergessen wants to merge 3 commits intomasterfrom
ci/phpstan
Draft

Ci/phpstan#695
nickvergessen wants to merge 3 commits intomasterfrom
ci/phpstan

Conversation

@nickvergessen
Copy link
Member

$ composer run phpstan -- --verbose
> vendor/bin/phpstan analyse -c phpstan.neon '--verbose'
 9/9 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100%  1 sec

 ------ --------------------------------------------------------------------------------------------------------------------------------------- 
  Line   Controller/APIController.php                                                                                                           
 ------ --------------------------------------------------------------------------------------------------------------------------------------- 
  71     Parameter #1 $data of class OCP\AppFramework\Http\DataResponse constructor expects T of OCP\AppFramework\Http\DataResponseType,        
         list<array<string, int|true>> given.                                                                                                   
         🪪  argument.type                                                                                                                      
  78     Parameter #1 $data of class OCP\AppFramework\Http\DataResponse constructor expects T of OCP\AppFramework\Http\DataResponseType, array  
         given.                                                                                                                                 
         🪪  argument.type                                                                                                                      
  82     Parameter #1 $data of class OCP\AppFramework\Http\DataResponse constructor expects T of OCP\AppFramework\Http\DataResponseType, array  
         given.                                                                                                                                 
         🪪  argument.type                                                                                                                      
  98     Parameter #1 $data of class OCP\AppFramework\Http\DataResponse constructor expects T of OCP\AppFramework\Http\DataResponseType,        
         array<string, int|true> given.                                                                                                         
         🪪  argument.type                                                                                                                      
  121    Parameter #1 $data of class OCP\AppFramework\Http\DataResponse constructor expects T of OCP\AppFramework\Http\DataResponseType, array  
         given.                                                                                                                                 
         🪪  argument.type                                                                                                                      
  133    Parameter #1 $data of class OCP\AppFramework\Http\DataResponse constructor expects T of OCP\AppFramework\Http\DataResponseType, array  
         given.                                                                                                                                 
         🪪  argument.type                                                                                                                      
 ------ --------------------------------------------------------------------------------------------------------------------------------------- 


                                                                                                                        
 [ERROR] Found 6 errors                                                                                                 
                                                                                                                        

Elapsed time: 1 second
Used memory: 92 MB

Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant